package cn.crce.cloud9.comp;

import javax.swing.*;
import java.awt.*;

/**
 * @author OnCloud9
 * @description
 * @project NRCE-TEST
 * @date 2022年09月13日 下午 08:54
 */
public class Case22 extends JApplet {
    //*********Found**********
    public void init() {
        Container contentPane = getContentPane();
        JLabel label = new JLabel("One World  One Dream", SwingConstants.CENTER);
        label.setFont(new Font("Arial", Font.BOLD, DEFAULT_SIZE));
        //*********Found**********
        this.add(label);
    }

    private static final int DEFAULT_SIZE = 24;
}
